﻿using Abp.Runtime.Caching;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AVIS.OutBound.RateCodes.Cache
{
    public static class RateCodeCacheExtensions
    {
        public static ITypedCache<string, List<RateCodeCacheItem>> GetRateCodeCache(this ICacheManager cacheManager)
        {
            return cacheManager.GetCache<string, List<RateCodeCacheItem>>(RateCodeCacheItem.CacheName);
        }
    }
}
